package com.ruicar.afs.cloud.afscase.processor.enums;

import com.ruicar.afs.cloud.common.modules.afscorebusiness.enums.LoanProcessTypeEnum;
import com.ruicar.afs.cloud.common.modules.afscorebusiness.enums.ProcessTypeEnum;
import com.ruicar.afs.cloud.common.modules.afscorebusiness.enums.WorkflowTypeEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Description
 * @Author Peng_Jinbo
 * @Date 2020/07/15 10:03
 */
@AllArgsConstructor
@Getter
public enum WorkflowType {

    /**
     *
     */
    NORMAL_NEW("wf-case-normal-new", "常规审批新车流程", ProcessTypeEnum.GENERA_APPROVE),
    NORMAL_OLD("wf-case-normal-old", "常规审批二手车流程", ProcessTypeEnum.GENERA_APPROVE),
    NORMAL_APPOINT("wf-case-normal-appoint", "常规审批指定处理人流程", ProcessTypeEnum.GENERA_APPROVE),
    //add by yk.Li 2020/7/20 begin
    LOAN_APPROVAL_NEW("wf-case-loan-approval-new", "放款审批新车流程", LoanProcessTypeEnum.GENERAL_LOAN),
    LOAN_APPROVAL_OLD("wf-case-loan-approval-old", "放款审批二手车流程", LoanProcessTypeEnum.GENERAL_LOAN),
    LOAN_GPS_AUDIT("wf-case-loan-gps-audit", "GPS审核流程", LoanProcessTypeEnum.GPS_AUDIT),
    //end
    //add by  gjq 20200728 资产变更
    CHANGE_ASSETS("wf-case-change-assets","资产变更指定处理人流程",ProcessTypeEnum.CHANGE_ASSETS),
    //add by jxl 20200804 复议申请
    RECONSIDER_APPLY("wf-case-reconsider-apply","复议申请指定处理人流程",ProcessTypeEnum.RECONSIDER_APPLY),
    FORMAL_REVIEW("wf-case-formal-review","正式复议流程",ProcessTypeEnum.FORMAL_REVIEW);
    /**
     * 流程编号内部映射key值,系统菜单配置
     */
    private String afsFlowKey;
    /**
     * 描述
     */
    private String desc;
    /**
     * 流程类型
     */
    private WorkflowTypeEnum approveType;

}
